package com.lanchetech.dao;

import com.lanchetech.bean.dto.BlindBoxDto;
import com.lanchetech.bean.vo.BlindBoxVo;
import com.lanchetech.bean.request.BlindBoxReq;
import com.lanchetech.entity.BlindBox;

import java.util.List;

/**
 * @author Ren
 * @description 针对表【blind_box(盲盒表)】的数据库操作Mapper
 * @createDate 2023-03-05 21:21:33
 * @Entity com.lanchetech.entity.BlindBox
 */
public interface BlindBoxMapper {

    int deleteByPrimaryKey(Long id);

    int insert(BlindBoxDto record);

    int insertSelective(BlindBox record);

    BlindBox selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BlindBoxDto record);

    int updateByPrimaryKey(BlindBox record);

    List<BlindBoxVo> findAll(BlindBoxReq blindBoxReq);
}
